package com.kriss.blog.entity;
// default package

import java.util.Date;


/**
 * Blog entity. @author MyEclipse Persistence Tools
 */

public class Blog  implements java.io.Serializable {


    // Fields    

     private Integer uuid;
     private User user;
     private BlogType blogType;
     private String blogTitle;
     private String blogContent;
     private Date blogTime;
     private Integer blogReadedCnt;


    // Constructors

    /** default constructor */
    public Blog() {
    }

    
    /** full constructor */
    public Blog(User user, BlogType blogType, String blogTitle, String blogContent, Date blogTime, Integer blogReadedCnt) {
        this.user = user;
        this.blogType = blogType;
        this.blogTitle = blogTitle;
        this.blogContent = blogContent;
        this.blogTime = blogTime;
        this.blogReadedCnt = blogReadedCnt;
    }

   
    // Property accessors

    public Integer getUuid() {
        return this.uuid;
    }
    
    public void setUuid(Integer uuid) {
        this.uuid = uuid;
    }

    public User getUser() {
        return this.user;
    }
    
    public void setUser(User user) {
        this.user = user;
    }

    public BlogType getBlogType() {
        return this.blogType;
    }
    
    public void setBlogType(BlogType blogType) {
        this.blogType = blogType;
    }

    public String getBlogTitle() {
        return this.blogTitle;
    }
    
    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }

    public String getBlogContent() {
        return this.blogContent;
    }
    
    public void setBlogContent(String blogContent) {
        this.blogContent = blogContent;
    }

   
    public Date getBlogTime() {
		return blogTime;
	}


	public void setBlogTime(Date blogTime) {
		this.blogTime = blogTime;
	}


	public Integer getBlogReadedCnt() {
        return this.blogReadedCnt;
    }
    
    public void setBlogReadedCnt(Integer blogReadedCnt) {
        this.blogReadedCnt = blogReadedCnt;
    }
   








}